
COMPILER = g++
FILE_NAME = OS2
DO = $(COMPILER)  -c $^ -lpthread  -o $@



all: Ass2.o FileSystem.o LowLevelDisk.o OpenFileDescTable.o Shell.o SuperBlock.o SystemCall.o .o .o  
	@$(COMPILER) $^ -o $(FILE_NAME) -lpthread


%.o:%.cpp
	@echo $@
	@$(DO)
	@echo 'done'

clean:
	rm *.o $(FILE_NAME) -f
